package com.swak.reactivex.transport;

import com.swak.exception.RemotingException;

/**
 * 客户端
 * 
 * @author lifeng
 */
public interface Client extends Channel {

	/**
	 * connect.
	 */
	void connect() throws RemotingException;

	/**
	 * close the channel.
	 */
	void close();

	/**
	 * 连接是否关闭
	 * 
	 * @return
	 */
	boolean isClosed();
}
